// <copyright file="ChartStyle.cs" company="YUIAsp.Net">
// Copyright (c) 2009 All Right Reserved
// </copyright>
// <author>raul popescu</author>
// <email>dev@yuiasp.net</email>
// <date>2009-01-30</date>
// <summary>YUIAsp.Net File</summary>

using System.Web.UI;

namespace YUIAspNet
{
    /// <summary>
    /// Class representing the chart style.
    /// </summary>
    public class ChartStyle
    {
        /// <summary>
        /// Gets or sets the padding.
        /// </summary>
        /// <value>The padding.</value>
        public int Padding { get; set; }

        /// <summary>
        /// Gets or sets the legend for the chart.
        /// </summary>
        /// <value>The legend.</value>
        [PersistenceMode(PersistenceMode.InnerProperty)]
        public ChartLegend Legend { get; set; }

        /// <summary>
        /// Gets or sets the font.
        /// </summary>
        /// <value>The font.</value>
        [PersistenceMode(PersistenceMode.InnerProperty)]
        public ChartFont Font { get; set; }

        /// <summary>
        /// Gets or sets the tooltip style.
        /// </summary>
        /// <value>The tooltip style.</value>
        [PersistenceMode(PersistenceMode.InnerProperty)]
        public TooltipStyle TooltipStyle { get; set; }

        /// <summary>
        /// Gets or sets the border.
        /// </summary>
        /// <value>The border.</value>
        [PersistenceMode(PersistenceMode.InnerProperty)]
        public ChartBorder Border { get; set; }
    }
}
